package com.hibase.core.lock.executor;

/**
 * @author chenfeng
 * @version 1.0
 * @date 2021/10/22 11:19
 * @des https://gitee.com/cheershi
 */
public abstract class AbstractLockExecutor<T> implements LockExecutor<T> {
    protected T obtainLockInstance(boolean locked, T lockInstance) {
        return locked ? lockInstance : null;
    }
}
